﻿using CSharpDay15__Auth_.Data.Model;
using CSharpDay15__Auth_.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharpDay15__Auth_.Adapters.Interfaces
{
    public interface IToDoAdapter
    {
        /// <summary>
        /// Find all ToDo's in a database belonging to a specific user
        /// </summary>
        /// <param name="userId">The ID of the user</param>
        /// <returns>A list of ToDos</returns>
        List<ToDo> GetToDos(string userId);

        /// <summary>
        /// Gets a list of all users... shows their Username, Id, IsDisabled and number of ToDos
        /// </summary>
        /// <returns></returns>
        List<UserViewModel> GetAllUsers();

        void ToggleIsDisabled(string userId);
    }
}